package com.supinfo.bonjoursupinfo.models;

import java.util.Date;

public class Picture{

    private Long id;
    private String name;
    private String description;
    private String url;
    private Date creationDate;
    private Boolean isValid;
    
    public Picture(){
    	
    }
    
    public Picture(Long id, String name, String description, String url,
			Date creationDate, Boolean isValid) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.url = url;
		this.creationDate = creationDate;
		this.isValid = isValid;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Boolean getIsValid() {
		return isValid;
	}

	public void setIsValid(Boolean isValid) {
		this.isValid = isValid;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
}
